package com.leedsoft.mapper;

import com.leedsoft.domain.AidPlan;

import java.util.List;

import com.leedsoft.domain.AidPlanExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AidPlanMapper {
    long countByExample(AidPlanExample example);

    int deleteByExample(AidPlanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AidPlan record);

    int insertSelective(AidPlan record);

    List<AidPlan> selectByExample(AidPlanExample example);

    AidPlan selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AidPlan record, @Param("example") AidPlanExample example);

    int updateByExample(@Param("record") AidPlan record, @Param("example") AidPlanExample example);

    int updateByPrimaryKeySelective(AidPlan record);

    int updateByPrimaryKey(AidPlan record);
}